package com.lpfy.dtxc.bean;

/**
 * @author: hanGuangHui
 * @data: 2024/3/18
 * @description:
 */
public enum NetworkStatus {

    NONE(-1, "no"),

    MOBILE(0, "mobile"),

    WIFI(1, "wifi");

    private int status;
    private String desc;

    NetworkStatus(int code, String msg) {
        this.status = code;
        this.desc = msg;
    }

    public int getStatus() {
        return status;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "NetwordStatus{" +
                "status=" + status +
                ", desc='" + desc + '\'' +
                "} " + super.toString();
    }
}
